#include "logininfoinstance.h"

LoginInfoInstance* LoginInfoInstance::instance = new LoginInfoInstance;
LoginInfoInstance::AutoRelease LoginInfoInstance::_at;

LoginInfoInstance *LoginInfoInstance::getInstance()
{
    return instance;
}

void LoginInfoInstance::setLoginInfo(QString tmpUser, QString tmpIp, QString tmpPort, QString token)
{
    user = tmpUser;
    ip = tmpIp;
    port = tmpPort;
    this->token = token;
}
